<!DOCTYPE html>
<html>
  
  <head>
    <meta charset="utf-8">
    <title>商品列表-{$tpshop_config['shop_info_store_title']}</title>
    <meta http-equiv="keywords" content="{$tpshop_config['shop_info_store_keyword']}" />
    <meta name="description" content="{$tpshop_config['shop_info_store_desc']}" /></head>
  
  <body>
    <!-- 头部开始 -->
    <include file="Public/header" />
    <!-- 头部结束 -->
    <link rel="stylesheet" href="/Template/pc/kty/Static/css/page.css" type="text/css">
    <link rel="stylesheet" href="/Template/pc/kty/Static/css/category.css" type="text/css">
    <!--banner-->
    <div class="list_banner"></div>
    <!--------中间内容-------------->
    <div id="warpper" class="clearfix">
      <div id="path-new" class="clearfix colaaa text13">
        <div class="pathme">
          <a href="{:U('Home/Goods/goodsList')}">
            <span>全部分类</span>
          </a>
          <if condition="!empty($goodsCate)">
            <foreach name="navigate_cat" key="k" item="v">
                >
                <a href="{:U('/Home/Goods/goodsList',array('id'=>$k))}">
                  <span>{$v}</span>
                </a>
            </foreach>
          </if>
        </div>
        <div class="scfenlei">
          <foreach name="cateArr" item="v" key="k">
            <div class="scfenleip">
              <a href="{:U('Home/Goods/goodsList',array('id'=>$v['id']))}">
                <p>{$v.name}：</p>
              </a>
              <div class="scfenleisp">
                <if condition="$v['sub_menu']">
                  <assign name="sub_menu" value="$v.sub_menu" />
                <else />
                  <assign name="sub_menu" value="$v.tmenu" />
                </if>
                <foreach name="sub_menu" item="vv">
                  <a href="{:U('Home/Goods/goodsList',array('id'=>$vv['id']))}" <if condition="$vv['id'] eq $goodsCate['select_id']">class="selected"</if>>
                    <span>{$vv.name}</span>
                  </a>
                </foreach>
              </div>
            </div>
          </foreach>
        </div>
      </div>
      <div class="navbar">
        <a href="{:urldecode(U('/Home/Goods/goodsList',array_merge($filter_param)))}">
          <div class="navml <if condition="I('sort') eq ''">navactive</if>">
            <p>综合</p>
          </div>
        </a>
        <a href="{:urldecode(U('/Home/Goods/goodsList',array_merge($filter_param,array('sort'=>'shop_price'))))}">
          <div class="navml <if condition="I('sort') eq 'shop_price'">navactive</if>">
            <p>价格</p>
            <i class="xiaicon"></i>
          </div>
        </a>
        <a href="{:urldecode(U('/Home/Goods/goodsList',array_merge($filter_param,array('sort'=>'sales_sum'))))}">
          <div class="navml <if condition="I('sort') eq 'sales_sum'">navactive</if>">
            <p>销量</p>
            <i class="xiaicon"></i>
          </div>
        </a>
        <a href="{:urldecode(U('/Home/Goods/goodsList',array_merge($filter_param,array('sort'=>'is_new'))))}">
          <div class="navml <if condition="I('sort') eq 'is_new'">navactive</if>">
            <p>时间</p>
            <i class="xiaicon"></i>
          </div>
        </a>
      </div>
      <div class="bkuang">
        <foreach name="goods_list" item="v" key="k">
          <div class="spkuang">
            <a href="{:U('/Home/Goods/goodsInfo',array('id'=>$v[goods_id]))}">
              <img src="{$v.goods_id|goods_thum_images=230,160}" style="width: 230px;height: 160px;display: block;margin: 0 auto;margin-top:30px" alt="" /></a>
            <h2>
              <a href="{:U('/Home/Goods/goodsInfo',array('id'=>$v[goods_id]))}">{$v[goods_name]|getSubstr=0,20}</a></h2>
            <h3>{$v[goods_remark]|getSubstr=0,20}</h3>
            <p>销量：
              <span>{$v[sales_sum]}</span>
              <h1>￥{$v[shop_price]}</h1>
              <a href="javascript:;" onclick="AjaxAddCart({$v.goods_id},1,0);">
                <div class="shopcar"></div>
              </a>
          </div>
        </foreach>
      </div>

      <div class="fenye">
        <div class="fykuang">
          {$page->showFront()}
        </div>
      </div>

        <div class="adver">
          <a href="">
            <img src="/Template/pc/kty/Static/images/goods_list/advers.jpg" style="width: 1200px;height: 329px" alt="" /></a>
        </div>
      </div>
      <div class="ftmg"></div>
      <!-- 底部开始 -->
      <include file="Public/footer" />
      <!-- 底部结束 --></body>

</html>